package blue.qingyu.whimurmur.messageEx.model.base;

import com.jfinal.plugin.activerecord.IBean;

import io.jboot.db.model.JbootModel;

@SuppressWarnings("serial")
public class WMBasePost<M extends WMBasePost<M>> extends JbootModel<M> implements IBean {
	/**
     * 主键ID
     */
	public void setId(Integer id) {
		set("id", id);
	}

    /**
     * 主键ID
     */
	public Integer getId() {
		return getInt("id");
	}
	
	public void setViewCount(Integer viewCount) {
		set("view_count", viewCount);
	}
	
	public Integer getViewCount() {
		return getInt("view_count");
	}
	
	public void setCommentCount(Integer commentCount) {
		set("comment_count", commentCount);
	}
	
	public Integer getCommentCount() {
		return getInt("comment_count");
	}
	
	public void setUrl(Integer url) {
		set("url", url);
	}
	
	public String getUrl() {
		return getStr("url");
	}
}
